.chat {
  width: 900px;
  height: 600px;
  border: 1px solid #ccc;
  margin: 50px auto 0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: stretch;

  >div{
    flex-shrink: 0;
  }

}